<?php

    $agent = strtolower($_SERVER['HTTP_USER_AGENT']);
    if(strpos($agent, 'iphone') || strpos($agent, 'ipad'))        {
        header("Location:https://itunes.apple.com/us/app/yun-guo-shang-cheng/id1163068455?mt=8");
    }else if(strpos($agent, 'android')){
        header("Location:http://a.app.qq.com/o/simple.jsp?pkgname=com.ybs.yunguo");
    }else{
        die('您的手机系统暂不支持');
    }




